import { sequelize } from '../../db';
import { DataTypes, Model } from 'sequelize';
class ProcureOrder extends Model { }

ProcureOrder.init({
    orderId: DataTypes.INTEGER,
    UserId: DataTypes.INTEGER,
    from: DataTypes.INTEGER,
    address: DataTypes.STRING,
    freight: DataTypes.INTEGER,
    state: { type: DataTypes.BOOLEAN, defaultValue: 0 }
}, {
    sequelize
});

export default ProcureOrder